package com.project.service;

import java.util.List;

import com.project.entity.ReaderInfo;

/**
 * @author jackiel
 * 
 */
public interface ReaderInfoService extends GenericService<ReaderInfo, Integer> {
	/**
	 * @param name
	 * @param password
	 * @return
	 */
	public ReaderInfo getReaderInfoByNameAndPsw(String name, String password);

	/**
	 * @return
	 */
	public List<ReaderInfo> getReaderList();

	public ReaderInfo get(String name);

	public ReaderInfo getRole(String name);

}
